﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Com.Framework;
using Com.Library.DB.Popup;

namespace Com.Web.coffinegurunaru.home
{
	public partial class popup : System.Web.UI.Page
	{
		public int SeqNo
		{
			get;
			set;
		}

		public PopupEntity PopupInfo
		{
			get;
			set;
		}

		protected void Page_Load(object sender, EventArgs e)
		{
			SeqNo = Request.QueryString["SeqNo"].Parse(0);

			if (SeqNo == 0)
			{
				Response.Write("<script language='javascript'>self.close();</script>");
				return;
			}

			PopupInfo = PopupModel.GetInfo(SeqNo);
		}
	}
}
